package com.wt.admin.mapper.ai;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wt.admin.domain.dto.ai.AgentsInfoDTO;
import com.wt.admin.domain.entity.ai.AgentsInfoEntity;
import com.wt.admin.domain.vo.ai.AgentsInfoVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AgentsInfoMapper extends BaseMapper<AgentsInfoEntity> {

    List<AgentsInfoVO> infoList(AgentsInfoDTO data);

    @Delete("delete from ai_agents_info where class_id = #{id} ")
    void classDel(@Param("id") Integer id);
}
